package com.core.zyyz.pcmc.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 系统字典对象 pcmc_dict
 *
 * @author core
 * @date 2024-10-22
 */
public class PcmcDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用/模块编号 */
    private String appCode;

    /** 字典类型 */
    private String dictType;

    /** 字典编码 */
    private String dictCode;

    /** 字典名称 */
    @Excel(name = "字典名称")
    private String dictName;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private Integer sortNo;

    /** 国际化语言编码 */
    @Excel(name = "国际化语言编码")
    private String i18nCode;

    /** 说明 */
    @Excel(name = "说明")
    private String DESCRIPTION;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isEnabled;

    /** 自 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "自", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDateActive;

    /** 至 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDateActive;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 最后更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后更新用户编码 */
    @Excel(name = "最后更新用户编码")
    private String lastUpdateBy;

    public void setAppCode(String appCode)
    {
        this.appCode = appCode;
    }

    public String getAppCode()
    {
        return appCode;
    }
    public void setDictType(String dictType)
    {
        this.dictType = dictType;
    }

    public String getDictType()
    {
        return dictType;
    }
    public void setDictCode(String dictCode)
    {
        this.dictCode = dictCode;
    }

    public String getDictCode()
    {
        return dictCode;
    }
    public void setDictName(String dictName)
    {
        this.dictName = dictName;
    }

    public String getDictName()
    {
        return dictName;
    }
    public void setSortNo(Integer sortNo)
    {
        this.sortNo = sortNo;
    }

    public Integer getSortNo()
    {
        return sortNo;
    }
    public void setI18nCode(String i18nCode)
    {
        this.i18nCode = i18nCode;
    }

    public String getI18nCode()
    {
        return i18nCode;
    }
    public void setDESCRIPTION(String DESCRIPTION)
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION()
    {
        return DESCRIPTION;
    }
    public void setIsEnabled(String isEnabled)
    {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled()
    {
        return isEnabled;
    }
    public void setStartDateActive(Date startDateActive)
    {
        this.startDateActive = startDateActive;
    }

    public Date getStartDateActive()
    {
        return startDateActive;
    }
    public void setEndDateActive(Date endDateActive)
    {
        this.endDateActive = endDateActive;
    }

    public Date getEndDateActive()
    {
        return endDateActive;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate)
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate()
    {
        return lastUpdateDate;
    }
    public void setLastUpdateBy(String lastUpdateBy)
    {
        this.lastUpdateBy = lastUpdateBy;
    }

    public String getLastUpdateBy()
    {
        return lastUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("appCode", getAppCode())
                .append("dictType", getDictType())
                .append("dictCode", getDictCode())
                .append("dictName", getDictName())
                .append("sortNo", getSortNo())
                .append("i18nCode", getI18nCode())
                .append("DESCRIPTION", getDESCRIPTION())
                .append("isEnabled", getIsEnabled())
                .append("startDateActive", getStartDateActive())
                .append("endDateActive", getEndDateActive())
                .append("createDate", getCreateDate())
                .append("createBy", getCreateBy())
                .append("lastUpdateDate", getLastUpdateDate())
                .append("lastUpdateBy", getLastUpdateBy())
                .toString();
    }
}
